﻿using EternalRoad.Client.Level.Cells;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EternalRoad
{
    public static class CellDefinitionManager
    {
        private static List<ICellDefinition> cellDefinitions;

        public static IEnumerable<ICellDefinition> GetDefinitions()
        {
            if (cellDefinitions == null)
            {
                cellDefinitions = new List<ICellDefinition>();

                cellDefinitions.Add(new GrassCellDefinition());

            }

            return cellDefinitions;
        }
    }
}
